//
//  Status.swift
//  VVbo
//
//  Created by Mr.Run on 2017/8/23.
//  Copyright © 2017年 Mr.Run. All rights reserved.
//

import UIKit
import YYModel

class Status: NSObject {
    var id:Int64 = 0
    var text:String?
    var user: User?
    var pic_urls:[StatusPicture]?
    var retweeted_status:Status?
    
    var reposts_count:Int64 = 0
    var comments_count:Int64 = 0
    var attitudes_count:Int64 = 0
    
    var created_at:String?
    var source:String? {
        didSet{
            source =  "来自于" + (source?.vv_href()?.text ?? "")
        }
    }
    
    override var description: String{
        return yy_modelDescription()
    }
    
    class func modelContainerPropertyGenericClass()->[String:AnyClass]{
        return ["pic_urls":StatusPicture.self]
    }
    
}
